﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _01.策略模式.Entities
{
    /// <summary>
    /// 策略领域实体
    /// </summary>
    public class Strategy : BaseEntity
    {
        /// <summary>
        /// 策略名称
        /// 折扣策略，定价策略，优惠策略等等
        /// </summary>
        public string StrategyName { get; set; }

        /// <summary>
        /// 策略类型
        /// 折扣：客户类型折扣，订单额度折扣，活动折扣
        /// </summary>
        public string StrategyType { get; set; }

        /// <summary>
        /// 适用对象
        /// 产品，订单
        /// </summary>
        public string ApplicableObject { get; set; }

        /// <summary>
        /// 策略值
        /// 折扣：打几折，优惠：减免多少，定价：上浮多少
        /// </summary>
        public decimal StrategyValue { get; set; }
    }
}
